package com.xishu.entity.shop;

import com.xishu.entity.AbstractEntity;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Entity;
import javax.persistence.Index;
import javax.persistence.Table;

/**
 * 场景品类映射
 */
@Entity(name = "scene_catalog_mapping")
@Table(indexes = {@Index(columnList = "sceneId"),@Index(columnList = "catalogId")})
public class SceneCatalogMapping extends AbstractEntity {
    private static final long serialVersionUID = 2845946300899679183L;

    @ApiModelProperty(value = "场景ID")
    private Long sceneId;

    @ApiModelProperty(value = "场景名称")
    private String sceneName;

    @ApiModelProperty(value = "品类名称")
    private String catalogName;

    @ApiModelProperty(value = "品类ID")
    private Long catalogId;

    @ApiModelProperty(value = "分店ID,用于权限校验")
    private Long shopId;

    public Long getShopId() {
        return shopId;
    }

    public void setShopId(Long shopId) {
        this.shopId = shopId;
    }

    public Long getSceneId() {
        return sceneId;
    }

    public void setSceneId(Long sceneId) {
        this.sceneId = sceneId;
    }

    public String getSceneName() {
        return sceneName;
    }

    public void setSceneName(String sceneName) {
        this.sceneName = sceneName;
    }

    public String getCatalogName() {
        return catalogName;
    }

    public void setCatalogName(String catalogName) {
        this.catalogName = catalogName;
    }

    public Long getCatalogId() {
        return catalogId;
    }

    public void setCatalogId(Long catalogId) {
        this.catalogId = catalogId;
    }
}
